#ifndef __CORE_H__
#define __CORE_H__

#define ALRM "./alarm"
#define AVAPP "./av"
#define NET "./net"
#define S485 "./s485"
#define AUDIO "./audio"

#define THTTPD           "/mnt/app/thttp/thttpd_wrapper.sh"
#define THTTPD_PPPOE     "/mnt/app/thttp/thttpd_pppoe_wrapper.sh"
#define THTTPD_WIRELESS  "/mnt/app/thttp/thttpd_wireless_wrapper.sh"

#define COMM_BUFFS_SIZE		256
#define SDISK_PATH "/mnt/udisk/sd"

#include <sys/types.h>
#include <unistd.h>
#include "Ipc.h"
#include "Iconv.h"

struct process_list
{
	pid_t pid;
	char command[COMM_BUFFS_SIZE];
	struct process_list *next;
};




enum SDISK_TYPE
{
	FORMAT_SD = 0x01,
	WR_SD,
	OR_SD
};

void SetNetConf(char *buff, int blen);
void SetTmConf(char *buff, int blen);
void SetSnapConf(char *buff, int blen);
void SetSDiskConf(char *buff, int blen);

#endif
